package com.yztc.yidoutang.fragment.danpin_fragment;



import com.yztc.yidoutang.bean.DanPinBean;
import com.yztc.yidoutang.bean.SharingsBean;

import java.util.List;
import java.util.Map;

import rx.Subscriber;

/**
 * Created by My on 2016/10/20.
 */

public class DanPinContract {
    public interface View{
        public void getDRData();

        public void GetDPDataSuccess(List<SharingsBean> listBeen);
        public void GetDPDataFail(String msg);
    }

    public interface Presenter{
        public void getDPData(String queryWords);
    }

    public interface Model{
        void getDPData(String querywords, Subscriber<DanPinBean> subscriber);
    }
}
